<div class="footer">
    <div class="footercenter">
        <div style="height: 35px;"></div>
        <div class="footerLeft">
            <div class="borderleft">
                <h1>
                    西安小野猫信息科技有限公司
                </h1>
                <h2>
                    地址：西安市曲江区莱安中心T2
                </h2>
                <h3>
                    服务热线：888-88888888
                </h3>
            </div>
        </div>
        <div class="footercenter2">
            <h4>在线留言</h4>
            <div>
                <span>*</span> 姓名：<input id="username" name="username" style="padding-left: 5px; color: #fff" type="text">
            </div>
            <div>
                <span>*</span> 电话：<input id="mobile" name="mobile" style="padding-left: 5px; color: #fff" type="text">
            </div>
            <div>
                <span>*</span> 备注：<input id="remark" name="remark" style="padding-left: 5px; color: #fff" type="text">
            </div>
            <div class="sub" style="cursor: pointer">
                <img src="__HOME__/home/img/submit.png" alt="">
            </div>
        </div>
        <div class="footeright">
            <div>
                <!-- <img src="" alt=""> -->
            </div>
            <span>
                        扫一扫添加微信关注
                    </span>
        </div>
    </div>
</div>






<div class="indexfooter">
    <p>版权所有@西安小野猫信息科技有限公司 &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://beian.miit.gov.cn/" style="color: #fff;"> 陕ICP备2020017280号 </a>&nbsp;&nbsp;&nbsp;&nbsp; 技术支持：科技网络</p>
</div>
</div>
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script>
    // 提交
    $(".sub").click(function(){
        let username = $('#username').val()
        let mobile = $('#mobile').val()
        let remark = $('#remark').val()

        $.post('/admin/index/web/add', {'username': username, 'mobile': mobile, 'remark': remark}, function (e) {
            if (e.status == 'success') {
                alert('提交成功')
            }
        })
    })
</script>

</body>
</html>
